//
//  CommonDefines.h
//  communityPeople
//
//  Created by Jayce on 15/12/30.
//  Copyright © 2015年 jing zhao. All rights reserved.
//

#ifndef CommonDefines_h
#define CommonDefines_h


#define API_HOST @"https://www.ezi2u.com.my/"
#define API_TIMEOUT  5
#define WXReqState  @"Ezi2u_test" 
#define WXAPPId_debug @"wxcf9e8c4db52e35bf"
#define WXAPPSerect_debug @"1fb055d1c8951975487d9e351db9ef74"
#define WXAPPId_product  @"wxd23222ac44c5b82a"
#define WXAPPSerect_product @"c019d000efdf2596747407581119dc8c"
#define WX_ACCESS_TOKEN  @"access_token"
#define WX_OPEN_ID  @"openid"
#define WX_REFRESH_TOKEN @"refresh_token"
#define WX_BASE_URL  @"https://api.weixin.qq.com/sns"
#define WX_USERINFOR  @"wechat_userinfor"
#define FB_USERINFOR  @"facebook_userinfor"
#define EZI2U_USERNAME @"username"
#define EZI2U_PASSWORD @"password"

typedef NS_ENUM(NSInteger,LoginActionType){
    ActionTypeLogin = 0,                 //login
    ActionTypeFacebookLogin,             //facebook登录
    ActionTypeWeChatLogin,              //WeChat登录
    ActionTypeForgotPassword,           //忘记密码
    ActionTypeRegister,                 //注册
    ActionTypeAccessLogin,              //直接登录
    ActionTypeGetRights,                 //阅读版权
    NoneActionType                       //非登录页面跳转

};

#endif /* CommonDefines_h */
